package com.brush.system.domain.req.sysconfig;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import javax.validation.constraints.NotBlank;

/**
 * ClassName: SysConfigAddReq
 * Package: com.exam.system.domain.req.sysconfig
 * Description:
 *
 * @Author luo
 * @Create 2024/8/26 11:24
 * @Version 1.0
 */
@ApiModel(value = "SysConfigAddReq", description = "参数配置新增请求对象")
@Getter
@Setter
public class SysConfigAddReq {

    /**
     * 参数名称
     */
    @ApiModelProperty(value = "参数名称",required = true)
    @NotBlank(message = "{sysconfig.not.configName}")
    private String configName;

    /**
     * 参数键名
     */
    @ApiModelProperty(value = "参数键名",required = true)
    @NotBlank(message = "{sysconfig.not.configKey}")
    private String configKey;

    /**
     * 参数键值
     */
    @ApiModelProperty(value = "参数键值",required = true)
    @NotBlank(message = "{sysconfig.not.configValue}")
    private String configValue;

    /**
     * 系统内置（Y是 N否）
     */
    @ApiModelProperty(value = "系统内置（Y是 N否）",required = true)
    @NotBlank(message = "{sysconfig.not.configType}")
    private String configType;

    /**
     * 备注
     */
    private String remark;

}
